#ifndef _UICONTROL_H_
#define _UICONTROL_H_

#include <QObject>

#include <UIKit/UIView.h>

class UIControl : public QObject, public UIView {
    Q_OBJECT

    public:
        UIControl (QGraphicsItem *parent = 0);
        ~UIControl();

    Q_SIGNALS:
        void multiTap (UITouch *touch);
        void doubleTap (UITouch *touch);
        void singleTap (UITouch *touch);

    protected:
        virtual void multiTapEvent (UITouch *touch);
        virtual void doubleTapEvent (UITouch *touch);
        virtual void singleTapEvent (UITouch *touch);
};

#endif /* !_UICONTROL_H_ */

